package Class.Advance.Polymorphism.Test.Zoo;

public class Dog extends Animal{
    public Dog() {
    }

    public Dog(int age, String color) {
        super(age, color);
    }

    public void lookHome(){
        System.out.println("看家");
    }

    public void eat(String something){
        System.out.println(getAge() + "岁的" + getColor() + "狗正在吃" + something);
    }
}
